<div class="form">
<?php
$form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl('/coffeeShop/listAll'),
	'method'=>'get',
		)); ?>
<div>
<?php echo $form->label($model,'name'); ?> <?php echo $form->textField($model,'name',array('size'=>32,'maxlength'=>255)); ?>
</div>
<div>
<?php echo $form->label($model,'suburb'); ?> <?php echo $form->textField($model,'suburb',array('size'=>32,'maxlength'=>32)); ?>
</div>
<div>
<?php //echo $form->label($model,'beanRating'); ?>
<?php echo $form->dropDownList($model,'beanRating',array(''=>'All Bean Ratings','<=1'=>'1 bean','1.5'=>'1.5 beans','2'=>'2 beans','2.5'=>'2.5 beans','3'=>'3 beans')); ?>

<?php echo CHtml::submitButton('Search',array('class'=>'search')); ?>
</div>
<?php $this->endWidget();?>
</div>